#!/usr/bin/env bash
# testing using a duplicate function name

# 如果你重定义了函数，新定义会覆盖原来的函数定义，这一切不会产生任何错误信息

function func1 {
	echo "This is the first definition of the function name"
}

func1

function func1 {
	echo "This is a repeat of the same function name"
}

func1
echo "Now this is the end of the script"
